﻿@model IntroEntityFramework.Model.Appointment

<h2>Create New Appointment</h2>
<form method="post">
    @Html.LabelFor(x => x.Description) <br />
    @Html.TextBoxFor(x => x.Description, new { @class = "form-control" }) <br />

    @Html.LabelFor(x => x.UserWith) <br />
    @Html.TextBoxFor(x => x.UserWith, new { @class = "form-control" }) <br />

    <i>Format should be: xx/xx/xxxx hh:mm:ss AM/PM</i>
    @Html.LabelFor(x => x.TimeStart) <br />
    @Html.TextBoxFor(x => x.TimeStart, new { @class = "form-control" }) <br />

    @Html.LabelFor(x => x.TimeEnd) <br />
    @Html.TextBoxFor(x => x.TimeEnd, new { @class = "form-control" }) <br />

    <br />
    <button type="submit" class="btn btn-default">Submit</button>
</form>